package me.qingy.dp.behavioral.template;

/**
 * @author qingy
 * @since 2021-08-04
 */
public abstract class AbstractClass {
    public final void templateMethod() {
        //...
        method1();
        //...
        method2();
        //...
    }

    protected abstract void method1();

    protected abstract void method2();
}
